module teapo.app {
export class Application {
tests: tests.TestPage = null;
constructor(private _host: HTMLElement = document.body) {
this._startBoot();
}
private _startBoot() {
if (earlyElement) {
earlyElement.textContent = 'Loading test list...';
}
setTimeout(() => {this.tests = new tests.TestPage();
this._completeBoot();
}, 10);}
private _completeBoot() {
if (earlyElement) {
this._host.removeChild(earlyElement);
}
//ko.renderTemplate() }
}
}